<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% String contextPath = request.getContextPath(); %>
<html>
<head>
    <meta charset="UTF-8">
	<title>审核关系配置</title>
   	<link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/themes/gray/easyuia.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/icon.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/css/audit.css">
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/views/audit.js"></script>
</head>
<body>
			<div id="audit_win" class="easyui-dialog" title="审核公式配置" data-options="modal:true">   
				<!-- 审核关系公式配置内容START -->
				<div id="div_top">
					<!-- 选择指标divSTART -->
			        <div id="div_indicator">
		        			<div id="indicator_parent">
			        			<ul id="ul_parent" style="padding-left: 5px;">
			        				<li><label><img src="<%=contextPath%>/resources/images/right.png">父子指标</label></li>
			        			</ul>
			        		</div>
			        		<div id="indicator_near" style="padding-left: 5px;">
			        			<ul id="ul_near">
			        				<li><label><img src="<%=contextPath%>/resources/images/right.png">相邻指标</label></li>
			        			</ul>
			        		</div>
			        </div>
			        <!-- 选择指标divEND -->
			        
			        <!-- 运算符divSTART -->
			        <div id="div_symbol">
			        		<div class='symbol_fa'>
			        				<div style="padding: 0px 10px;">
			        					   <table>
			        					   		<tr>
			        					   			<td>
			        					   				<input type="checkbox" name='compare' value="》" onClick="WAY.CheckData(this)" />大于<span>（>）</span>
			        					   			</td>
<!-- 			        					   			<td rowspan="5" style="padding-left:25px;"> -->
<!-- 			        					   				<a href="javaScript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-left'" onclick='WAY.convert("compare");'></a> -->
<!-- 			        					   			</td> -->
			        					   		</tr>  
			        					   		<tr>
			        					   			<td><input type="checkbox" name='compare' value="《" onClick="WAY.CheckData(this)"/>小于<span>（<）</span></td>
			        					   		</tr>
			        					   		<tr>
			        					   			<td><input type="checkbox" name='compare' value="≥" onClick="WAY.CheckData(this)"/>大于等于<span>（>=）</span></td>
			        					   		</tr>
			        					   		<tr>
			        					   			<td><input type="checkbox" name='compare' value="≤" onClick="WAY.CheckData(this)"/>小于等于<span>（<=）</span></td>
			        					   		</tr>
			        					   		<tr> 
			        					   			<td><input type="checkbox" name='compare' value="=" onClick="WAY.CheckData(this)"/>等于<span>（=）</span></td>
			        					   		</tr>
			        					   		
			        					   </table>
			        				</div>
			        		</div>
			        		<div class='symbol_fa'>
			        				<div style="padding:2px 10px;">
			        					<table>
			        							<tr>
			        					   			<td>
			        					   				<input type="checkbox" name='compare' value="(" onClick='WAY.CheckData(this)'/><span>‘(’</span>
			        					   				<input type="checkbox" name='compare' value=")" onClick='WAY.CheckData(this)'/><span>‘)’</span>
			        					   			</td>
			        					   		</tr>
			        					   		<tr>
			        					   			<td>
			        					   				<input type="checkbox" name='compare' value="+" onClick='WAY.CheckData(this)'/>加<span>（＋）</span>
			        					   			</td>
			        					   		</tr>
			        					   		<tr>
			        					   			<td><input type="checkbox" name='compare' value="-" onClick='WAY.CheckData(this)'/>减<span>（-）</span></td>
			        					   		</tr>
			        					   		<tr>
			        					   			<td><input type="checkbox" name='compare' value="*" onClick='WAY.CheckData(this)'/>乘<span>（×）</span></td>
			        					   		</tr>
			        					   		<tr>
			        					   			<td><input type="checkbox" name='compare' value="/" onClick='WAY.CheckData(this)'/>除<span>（÷）</span></td>
			        					   		</tr>
			        					   </table>
				        			</div>
			        		</div>
			        		<div style="padding:20px 5px 20px 17px;">
			        				数值：<input class="easyui-numberbox" name='numVal' id='numVal' style="width:80px"> 
			        				<label style="margin-left:14px; ">
			        					<a href="javaScript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-left'"  onclick='WAY.convert("numVal");'></a>
			        				</label>
			        		</div>
			        </div>
			        <!-- 运算符divEND -->
			        
			        <div id="div_right">
			        	<div>
			        			<a href="javaScript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-left'" onclick='WAY.rightConvert();'></a> 
			        	</div>
			        </div>
			        <!-- 排列顺序divSTART -->
			        <div id="div_result">
			        			<table style="padding: 5px 25px;">
			        					<tr>
			        						<td>
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					<tr>
			        						<td style="text-align: right;">
			        							  <input class="easyui-textbox content" name="content" style="width:200px"> 
			        						</td>
			        					</tr>
			        					<tr style="text-align: center;line-height: 50px;">
			        						<td colspan="3">
			        							<a href="javaScript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-generate'" onclick='WAY.generate();'>生成公式</a>
			        						</td>
			        					</tr>
			        			
			        			</table>
			        </div>
			        <!-- 排列顺序divEND -->
			        
			      </div>
			      <!-- 审核关系公式配置内容END -->
			      
			      <!-- 审核关系公式配置结果START -->
			      <div id="div_formula">
			        	<table border="0"  style='margin:0px auto;'>
			        		<tr>
			        			<td colspan="2">
			        				<input class="easyui-textbox" style="margin-left:2px;width:350px;height:68px" id="formulas" name="formulas" 
			        						data-options="multiline:true" readonly="readonly"/>
			        			</td>
			        		</tr>
			        		<tr>
			        			<td style="text-align: right;">
			        				<a href="javaScript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-save'">保存</a>
			        			</td>
			        			<td style="padding-left:10px;">
			        				<a href="javaScript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'">取消</a>
			        			</td>
			        		</tr>
			        	</table>
			      </div>
			      <!-- 审核关系公式配置结果END -->
			</div>  	
</body>
</html>